﻿// -----------------------------------------------------------------------
// <copyright file="Job.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace HashMaster.Lib
{
    using System;
    using System.Collections.Generic;
    using System.Text;
        using System.Runtime.Serialization;
    /// <summary>
    /// 子任务信息
    /// </summary>
    [DataContract]
    public class Job
    {
        /// <summary>
        /// 子任务编号
        /// </summary>
        [DataMember]
        public int  SliceNum { get; set; }

        /// <summary>
        /// 子任务进度
        /// </summary>
        [DataMember]
        public float Progress { get; set; }

        /// <summary>
        /// 子任务状态
        /// </summary>
        [DataMember]
        public EnumStatus Status { get; set; }

    }
}
